package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 地市级公司信息对象 sys_companies
 * 
 * @author ruoyi
 * @date 2022-07-18
 */
public class SysCompanies extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地级市公司ID */
    @Excel(name = "地级市公司编号")
    private Long companiesId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companiesName;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer companiesSort;

    /** 负责人 */
    @Excel(name = "负责人")
    private String leader;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setCompaniesId(Long companiesId) 
    {
        this.companiesId = companiesId;
    }

    public Long getCompaniesId() 
    {
        return companiesId;
    }
    public void setCompaniesName(String companiesName) 
    {
        this.companiesName = companiesName;
    }

    public String getCompaniesName() 
    {
        return companiesName;
    }
    public void setCompaniesSort(Integer companiesSort) 
    {
        this.companiesSort = companiesSort;
    }

    public Integer getCompaniesSort() 
    {
        return companiesSort;
    }
    public void setLeader(String leader) 
    {
        this.leader = leader;
    }

    public String getLeader() 
    {
        return leader;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companiesId", getCompaniesId())
            .append("companiesName", getCompaniesName())
            .append("companiesSort", getCompaniesSort())
            .append("leader", getLeader())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
